tools/misc/xenpm: provide core/package cstate residencies
authorIan Jackson <Ian.Jackson@eu.citrix.com>
Wed, 14 Jul 2010 15:30:42 +0000 (16:30 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Wed, 14 Jul 2010 15:30:42 +0000 (16:30 +0100)
commitc8be2ccfa97828853ff3e21612a679fbf06d9d87
tree969a0e421bc24bd5b11a6123eb2f916270af9db8
parent8929f81d2c67512a22361b2e6607481f31b4da9b
tools/misc/xenpm: provide core/package cstate residencies

According to Intel 64 and IA32 Architectures SDM 3B Appendix B, Intel
Nehalem/Westmere processors provide h/w MSR to report the core/package
cstate residencies.Extend sysctl_get_pmstat interface to pass the
core/package cstate residencies, and modify xenpm to output those
information.

[tools part of the patch]

Signed-off-by: Wei Gang <gang.wei@intel.com>
tools/libxc/xc_pm.c
tools/libxc/xenctrl.h
tools/misc/xenpm.c